using NHibernate.Validator.Engine;

namespace DMS.BEs.Validations.NHV
{
    public class MyEnvironment : ISharedEngineProvider
    {
        private readonly ValidatorEngine validatorEngine;

        public MyEnvironment(ValidatorEngine validatorEngine)
        {
            this.validatorEngine = validatorEngine;
        }

        public ValidatorEngine GetEngine()
        {
            return validatorEngine;
        }
    }
}